﻿<Window x:Class="Window"
   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  Width="1006" Height="773" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
  <Grid Background="Gray" Width="1006" Height="773" AllowDrop="True">
        <Grid.RowDefinitions >
            <RowDefinition Height="*" />
            <RowDefinition Height="2" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <GridSplitter Grid.Row="1" ResizeBehavior="PreviousAndNext"  Height="2" HorizontalAlignment="Stretch" Background="Black"    Width="1006" />

        <Label Grid.Row="0" Height="23" HorizontalAlignment="Left" Margin="10,19,0,0" Name="lbldatabase" VerticalAlignment="Top" Width="69" Foreground="Red">DataBase</Label>
        <Label Grid.Row="0"  Height="23" HorizontalAlignment="Left" Margin="10,51,0,0" Name="Label2" VerticalAlignment="Top" Width="80">Logged In As</Label>
        <Label Grid.Row="0"  Height="23" HorizontalAlignment="Left" Margin="10,83,0,0" Name="Label3" VerticalAlignment="Top" Width="121">View Tasks Till</Label>
        <Label Grid.Row="0"  Height="23" HorizontalAlignment="Left" Margin="225,19,0,0" Name="Label4" VerticalAlignment="Top" Width="48">Branch</Label>
        <Label Grid.Row="0"  Height="23" HorizontalAlignment="Left" Margin="226,51,0,0" Name="Label5" VerticalAlignment="Top" Width="38">Dept</Label>
        <Label Grid.Row="0"  Height="23" HorizontalAlignment="Left" Margin="226,83,0,0" Name="Label6" VerticalAlignment="Top" Width="38">Cons</Label>
        <ComboBox  Grid.Row="0" Height="23" HorizontalAlignment="Left" Margin="95,83,0,0" Name="drpTaskView" VerticalAlignment="Top" Width="120">
            <ComboBoxItem>Today</ComboBoxItem>
            <ComboBoxItem>Tomorrow</ComboBoxItem>
            <ComboBoxItem>Week from Today</ComboBoxItem>
            <ComboBoxItem>Month from Today</ComboBoxItem>
            <ComboBoxItem>All</ComboBoxItem>
        </ComboBox>
        <Button Grid.Row="0"  Height="23" HorizontalAlignment="Left" Margin="95,116,0,0" Name="btnBrowseTasks" VerticalAlignment="Top" Width="120">Browse Tasks</Button>
        <ComboBox Grid.Row="0"  Height="23" HorizontalAlignment="Left" Margin="271,19,0,0" Name="drpBranch" VerticalAlignment="Top" Width="120" />
        <ComboBox Grid.Row="0"  Height="23" HorizontalAlignment="Left" Margin="271,51,0,0" Name="drpDepts" VerticalAlignment="Top" Width="120" />
        <ComboBox Grid.Row="0"  Height="23" HorizontalAlignment="Left" Margin="271,83,0,0" Name="drpCons" VerticalAlignment="Top" Width="120" />
        <Button Grid.Row="0"  Height="23" HorizontalAlignment="Left" Margin="271,116,0,0" Name="Button2" VerticalAlignment="Top" Width="120" />
        <GroupBox Grid.Row="0"  Header="Go To" Height="100" Margin="406,10,398,0" Name="GroupBox1" VerticalAlignment="Top">
            <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                <RadioButton Margin="10,10,0,0" Name="radSearchCompany" HorizontalAlignment="Left" Width="77" Height="16" VerticalAlignment="Top">Company</RadioButton>
                <RadioButton Height="16" HorizontalAlignment="Right" Margin="0,10,12,0" Name="radSearchCase" VerticalAlignment="Top" Width="55">Case</RadioButton>
                <RadioButton Margin="10,32,0,32.723" Name="radSearchPerson" HorizontalAlignment="Left" Width="66">Person</RadioButton>
                <RadioButton HorizontalAlignment="Right" Margin="0,32,12,32.723" Name="radSearchInvoice" Width="55">Invoice</RadioButton>
                <TextBox Height="23" HorizontalAlignment="Left" Margin="11,0,0,-0.277" Name="txtSearch" VerticalAlignment="Bottom" Width="76" />
                <Button Height="23" Margin="0,0,12,1.084" Name="btnGoTo" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="63">Go</Button>
                <Button HorizontalAlignment="Right" Margin="0,9,-283,0" Name="btnSearch" Width="95" Height="22.723" VerticalAlignment="Top">Search</Button>
                <Button HorizontalAlignment="Right" Margin="0,37,-283,21" Name="btnHistory" Width="95">History</Button>
                <Button Height="23" HorizontalAlignment="Right" Margin="0,0,-283,-8" Name="btnRefresh" VerticalAlignment="Bottom" Width="95">Refresh List</Button>
                <Button HorizontalAlignment="Right" Margin="0,9,-396,0" Name="btnAdmin" Width="96" Height="22.723" VerticalAlignment="Top">Admin</Button>
                <Button HorizontalAlignment="Right" Margin="0,37,-395,21" Name="btnAddUserTask" Width="96">Add User Task</Button>
                <Button Height="23" HorizontalAlignment="Right" Margin="0,0,-395,-8" Name="btnAllocation" VerticalAlignment="Bottom" Width="96">Allocation</Button>
            </Grid>
        </GroupBox>
        <Button Grid.Row="0"  Height="23" Margin="511,116,495,0" Name="Button4" VerticalAlignment="Top">Test</Button>
        <GroupBox Grid.Row="0"  Header="Add New Account" Height="100" HorizontalAlignment="Right" Margin="0,10,222,0" Name="GroupBox2" VerticalAlignment="Top" Width="163">
            <Grid Height="80" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="148">
                <RadioButton Height="16" Margin="10,10,58,0" Name="radAddCompany" VerticalAlignment="Top">Company</RadioButton>
                <RadioButton Height="16" HorizontalAlignment="Left" Margin="10,0,0,4" Name="radAddColdCall" VerticalAlignment="Bottom" Width="60">Cold Call</RadioButton>
                <RadioButton Margin="10,36,58,29" Name="radAddPerson">Person</RadioButton>
                <Button Height="23" HorizontalAlignment="Right" Margin="0,0,23,3" Name="btnAddAccount" VerticalAlignment="Bottom" Width="42">Add</Button>
            </Grid>
        </GroupBox>
        <Button Grid.Row="0"  Height="23"    HorizontalAlignment="Right" Margin="0,5,7,0" Name="btnExit" VerticalAlignment="Top" Width="209">Exit &amp; Log Off</Button>
        <Button Grid.Row="0"  Height="23"   HorizontalAlignment="Right" Margin="0,118,9,0" Name="btnReports" VerticalAlignment="Top" Width="96">Reports</Button>
  
        <ListView Margin="10,157,266,57" Name="lvwEventsOutstanding" >
            <ListView.View >
                <GridView Selector.IsSelected="true" >
                    <GridView.Columns>
                        <GridViewColumn Width="150" Header="Task" DisplayMemberBinding="{Binding Path=Description}" ></GridViewColumn>
                        <GridViewColumn Width="150" Header="Scheduled" DisplayMemberBinding="{Binding Path=SchDT}"></GridViewColumn>
                        <GridViewColumn Width="150" Header="Message" DisplayMemberBinding="{Binding Path=Message}" ></GridViewColumn>
                        <GridViewColumn Width="150" Header="For" DisplayMemberBinding="{Binding Path=company_id}"></GridViewColumn>

                    </GridView.Columns>
                </GridView>
            </ListView.View>
        </ListView>
        <Label Grid.Row="0"   Height="23" HorizontalAlignment="Right" Margin="0,149,191,0" Name="Label7" VerticalAlignment="Top" Width="69">Message</Label>
        <TextBox Grid.Row="0"  HorizontalAlignment="Right" Margin="0,174,21,106.567" Name="txtMessage"  Width="238" Background="#FFD4D0C8" />
        <Button Grid.Row="0"  Height="23" HorizontalAlignment="Right" Margin="0,0,163,78.567" Name="btnDismissTask" VerticalAlignment="Bottom" Width="96">Dismiss Task</Button>
        <TextBox Grid.Row="0"  Height="23" HorizontalAlignment="Right" Margin="0,0,32,78.567" Name="TextBox1" VerticalAlignment="Bottom" Width="96" />
        <Button Grid.Row="0"  Height="23" HorizontalAlignment="Right" Margin="0,0,32,49" Name="Button1" VerticalAlignment="Bottom" Width="96">Temp</Button>

        <GroupBox Name="GroupBox3" Grid.Row="2" Margin="3,5,21,88">
            <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="294">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="211*" />
                    <ColumnDefinition Width="759*" />
                </Grid.ColumnDefinitions>
                <GroupBox Name="GroupBox4" Header="View" Margin="5,7,11,0" Height="60.5" VerticalAlignment="Top">
                    <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                        <RadioButton Name="radViewPreSale" Content="Pre-Sale" HorizontalAlignment="Left" Width="57" Margin="7,12,0,12"></RadioButton>
                        <RadioButton Name="radViewInitiated" Content="Initiated" Margin="70,12,0,6" HorizontalAlignment="Left" Width="64"></RadioButton>
                        <RadioButton Name="radViewAll" Content="All" Margin="0,12,8,12" HorizontalAlignment="Right" Width="40"></RadioButton>
                    </Grid>
                </GroupBox>
                <GroupBox Header="Cases where you are the ...." Margin="205,7,402,0" Name="GroupBox5" Height="60" VerticalAlignment="Top" Grid.ColumnSpan="2">
                    <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                        <RadioButton HorizontalAlignment="Left" Margin="7,12,0,12" Name="radRoleSales" Width="65">Sales-Con</RadioButton>
                        <RadioButton Margin="79,12,0,6" Name="radRoleCW" HorizontalAlignment="Left" Width="74">Caseworker</RadioButton>
                        <RadioButton Margin="159,12,67,12" Name="radRoleCaseCoordinator">Case Co-Ordinator</RadioButton>
                        <RadioButton HorizontalAlignment="Right" Margin="0,12,6,12" Name="radRoleEither" Width="55">Any</RadioButton>
                    </Grid>
                </GroupBox>
                <Grid Margin="5,81,16,27" Name="grdsCases" ShowGridLines="False" ForceCursor="True" Background="White" Grid.ColumnSpan="2">
                    <telerik:RadGridView Margin="5,6,16,6" Name="grdCases" AllowDrop="True" AutoGenerateColumns="True"  CanUserReorderColumns="True" CanUserSortColumns="True"  CanUserResizeColumns="True"  >                        
                    </telerik:RadGridView>
                </Grid>
              
            </Grid>

        </GroupBox>
        <GroupBox Header="On Hold" Margin="0,12,228,0" Name="GroupBox6" Height="60.5" HorizontalAlignment="Right" Grid.Row="2" VerticalAlignment="Top" Width="195">
            <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                <RadioButton HorizontalAlignment="Left" Margin="7,12,0,12" Name="radHoldExclude" Width="57">Exclude</RadioButton>
                <RadioButton HorizontalAlignment="Left" Margin="70,12,0,6" Name="radHoldInclude" Width="64">Include</RadioButton>
                <RadioButton HorizontalAlignment="Right" Margin="0,12,8,12" Name="radHoldOnly" Width="40">Any</RadioButton>
            </Grid>
        </GroupBox>
        <GroupBox Header="View" Margin="0,11,37,0" Name="GroupBox7" Height="60.5" HorizontalAlignment="Right" Grid.Row="2" VerticalAlignment="Top" Width="186">
            <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                <Label Margin="5,7.612,0,10.612" Name="lvlView" HorizontalAlignment="Left" Width="40">Select</Label>
                <ComboBox Margin="66,7.612,6,10.611" Name="drpView">
                    <ComboBoxItem>1</ComboBoxItem>
                    <ComboBoxItem>2</ComboBoxItem>
                    <ComboBoxItem>3</ComboBoxItem>
                </ComboBox>
            </Grid>
        </GroupBox>
        <Label Height="23" HorizontalAlignment="Left" Margin="95,54,0,0" Name="lblUser" VerticalAlignment="Top" Width="119" Background="White" BorderThickness="1" BorderBrush="Black"></Label>
        <Button Height="23" HorizontalAlignment="Right" Margin="0,116,416,0" Name="btnTest" VerticalAlignment="Top" Width="63">Test</Button>
        <StatusBar Height="23" Margin="0,0,441,42" Name="StatusStrip1" VerticalAlignment="Bottom" Grid.Row="2" Width="1006">
            <StatusBarItem>StatusStrip1</StatusBarItem>
        </StatusBar>
    </Grid>
</Window>
